import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useArticleStore = defineStore('store', ()=>{
    let articleList = ref([])
    function setArticleList(list) {
        this.articleList = list
    }
    return {
        articleList,
        setArticleList,
    }
})
export const useMusicStore = defineStore('music', ()=>{
    let musicList = ref([])
    function setMusicList(list) {
        this.musicList = list
    }
    return {
        musicList,
        setMusicList, 
    }
})